package cn.tedu.eguser1.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;
@Data
public class UserAddParam {
    @NotBlank(message = "用户名不能为空")
    @Size(min = 4, max = 12, message = "用户名长度必须在4-12位之间")
    @NoDuplicateChars(message = "用户名不允许连续出现3个及以上相同字符")
    private String username;
    private String password;
    private String nickname;


}
